QUANTCONNECT LOCAL PLATFORM

Guide through creating a project, running your first backtest, and live algo trading in QuantConnect Local Platform.

Local Platform

The Local Platform enables you to seamlessly develop quant strategies on-premise and in QuantConnect Cloud, getting the best of both environments. With Local Platform, you can harness your local version control, autocomplete, and coding tools with the full power of a scalable cloud at your finger tips. We intend to keep complete feature parity with our cloud environment, allowing you to harness cloud or local datasets to power on-premise quantitative research.

We encourage a hybrid “cloud + local” workflow, so you can use right tool for each stage of your development process. With the Local Platform, you can create, debug, and run projects on premise while using your own on-site tools. With the Cloud Platform you can deploy backtests at scale and harness our massive data library at low cost.


Follow these steps to create a new trading algorithm and backtest it in QuantConnect Cloud:

1. Install Local Platform.

2. OpenVSCodeVisual Studio Code.

3. In the Initialization Checklist panel, click Login to QuantConnect.

Local Platform Login

4. In the Visual Studio Code window, click Open.

Open Website

5. On the Code Extension Login page, click Grant Access.

6. In VS Code, in the Select Workspace panel, click Pull Organization Workspace.

Pull Organization

7. In the Pull QuantConnect Organization Workspace window, click the cloud workspace (organization) that you want to pull.

Choose Organization

8. In the Pull QuantConnect Organization Workspace window, create a directory to serve as the organization workspace and then click Select.

If you are running Docker on Windows using the legacy Hyper-V backend instead of the new WSL 2 backend, you need to enable file sharing for your temporary directories and for your organization workspace. To do so, open your Docker settings, go to Resources > File Sharing and add C: / Users / / AppData / Local / Temp and your organization workspace path to the list. Click Apply & Restart after making the required changes.

Create Directory

9. In the Open Project panel, click Create Project.

Create Project

10. Enter the project name and then press Enter.

Congratulations! You just created your first local project.

Project Created

11. In the top-right corner of VS Code, clickGear IconBuild and then clickBacktest IconBacktest.

The backtest results page displays your algorithm’s performance over the backtest period.

Backtest Project